# 循环字符串
userName = 'dylan'
for i in userName:
    print(i, end='   ')

print('\n')  # 换行

# 循环数组
famliy = ['father', 'mother', 'son', 'daughter', 'dog']
for each in famliy:
    # len():输出长度
    print(each, len(each))
